const express = require("express");

const router = express.Router();

const rankingCallback = require("../api/ranking")

//获取排行榜接口
router.get("/ranking", rankingCallback.getRankingList)

//上传分数 - 排行榜数据添加
router.post("/uploadScore",rankingCallback.uploadScore)

//根据用户查询历史分数
router.get("/histroyScore",rankingCallback.histroyScore)

module.exports = router